﻿package{
	
	import flash.display.Sprite;
	//import flash.events.Event;
	
	public class Ball extends Sprite{
		
		private var radius:Number;
		private var color:uint;
		private var time:Number;
		
		public function Ball(radius:Number=40, color:uint=0xff0000){
			
			this.radius = radius;
			this.color = color;
			init();
		}
		
		public function init():void{
			
			graphics.beginFill(color);
			graphics.drawCircle(stage.stageWidth/2,stage.stageHeight/2,radius);
			graphics.endFill();
			
		}
	}

}